<?php @session_start();?>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="keyword" content="安溪一中, ACM, NOIp, meto, online judge, 计算机竞赛, 编程, ICPC"/>
<meta name="description" content="福建安溪一中信息学竞赛小组"/>
<meta name="robots" content="index,follow"/>
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="shortcut icon" href="/image/favicon.png">

<link rel="stylesheet" href="/bootstrap/css/bootstrap-glyphicons.css">
<link rel="stylesheet" href="/bootstrap/css/bootstrap.css">
<link rel="stylesheet" href="/bootstrap/css/style.css">
<link rel="stylesheet" href="/bootstrap/css/jquery-ui-1.10.3.custom.min.css">
<script type="text/javascript" src="/bootstrap/js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="/bootstrap/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="/bootstrap/css/prettify.css">
<link rel="stylesheet" href="/bootstrap/css/nprogress.css">

<script type="text/javascript" src="/bootstrap/js/prettify.js"></script>
<script type="text/javascript" src="/bootstrap/js/turbolinks.js"></script>
<script type="text/javascript" src="/bootstrap/js/jquery.turbolinks.js"></script>
<script type="text/javascript" src="/bootstrap/js/nprogress.js"></script>

<!--[if lte IE 8]>
    <script type="text/javascript">
        location.href="/goodbyeie.php";
    </script>
<![endif]-->

<?php if (!(isset($_SESSION['administrator'])||
			isset($_SESSION['contest_creator'])||
			isset($_SESSION['problem_editor']))){
	echo "<a href='../loginpage.php'>请你先登录好吗!</a>";
	exit(1);
}
require_once("../include/db_info.inc.php");
?>

<strong>
<div class="navbar navbar-default">
    <div class="container">
        <div class="navbar-header">
            <a class="navbar-brand" href="/index.php">AXYZOJ</a>
            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#navbar-main">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
        </div>
		
<div class="navbar-collapse collapse" id="navbar-main">
<ul class="nav navbar-nav">
    <li ><a href="index.php">管理主页</a></li>
	<li class="dropdown">
        <a class="dropdown-toggle" data-toggle="dropdown">题目&比赛<b class="caret"></b></a>
        <ul class="dropdown-menu">
		  <li><a href="problem_add_page.php">添加题目</a></li>
          <li><a href="problem_list.php">题目列表</a></li>
		  <li class='divider'></li>
		  <li><a href="contest_add.php">添加比赛</a></li>
		  <li><a href="contest_list.php">比赛列表</a></li>
        </ul>
    </li>
	<li class="dropdown">
        <a class="dropdown-toggle" data-toggle="dropdown">分类<b class="caret"></b></a>
        <ul class="dropdown-menu">
		  <li><a href="class_add.php">添加分类</a></li>
          <li><a href="class_list.php">分类列表</a></li>
        </ul>
    </li>
	<li class="dropdown">
        <a class="dropdown-toggle" data-toggle="dropdown">用户<b class="caret"></b></a>
        <ul class="dropdown-menu">
		  <li><a href="#">用户列表</a></li>
          <li><a href="changepass.php">修改密码</a></li>
		  <li class='divider'></li>
		  <li><a href="privilege_add.php">添加权限</a></li>
		  <li><a href="privilege_list.php">权限列表</a></li>
        </ul>
    </li>
	<li class="dropdown">
        <a class="dropdown-toggle" data-toggle="dropdown">评测机<b class="caret"></b></a>
        <ul class="dropdown-menu">
		  <li><a href="#">评测机状态</a></li>
          <li><a href="rejudge.php">Code重测</a></li>  
        </ul>
    </li>
	<li class="dropdown">
        <a class="dropdown-toggle" data-toggle="dropdown">导入导出<b class="caret"></b></a>
        <ul class="dropdown-menu">
		  <li><a href="problem_import.php">导入题目</a></li>
          <li><a href="problem_export.php">导出题目</a></li>  
        </ul>
    </li>
	
	<li class="dropdown">
        <a class="dropdown-toggle" data-toggle="dropdown">高级管理<b class="caret"></b></a>
        <ul class="dropdown-menu">
		  <li><a href="/cloud">YUN OS</a></li>
		  <li><a href="/dataadmin.php">Data 管理</a></li>
        </ul>
    </li>
	
	

</ul>
        <ul class="nav navbar-nav pull-right nav-controls">
            <script src="/include/profile.php?<?php echo rand();?>" ></script>
        </ul>
</div><!--/.nav-collapse -->


    </div>
</div>

</strong>

<div class="container">